<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>列表页</title>
</head>
<body>
<div>
    该服务是：<span th:text="${server}"></span>
</div>
<a th:href="@{/resume/add}">新增</a>
<table style="width:100%;border:1px white solid">
    <tr bgcolor="#4F81BD" style="color: #fff;">
        <th style="text-align: center">ID</th>
        <th style="text-align: center">名字</th>
        <th style="text-align: center">手机</th>
        <th style="text-align: center">地址</th>
        <th style="text-align: center">操作栏</th>
    </tr>
    <tr bgcolor="#FFFFFF" th:each="resume:${allResumes}">
        <td align="center" th:text="${resume.id}"></td>
        <td align="center" th:text="${resume.name}"></td>
        <td align="center" th:text="${resume.phone}"></td>
        <td align="center" th:text="${resume.address}"></td>
        <td align="center">
            <a th:href="@{/resume/update(id=${resume.id})}">编辑</a>
            <a th:href="@{/resume/delete(id=${resume.id})}">删除</a>
        </td>
    </tr>
</table>
</body>
</html>
